package com.tzxs.pay.main.bill.model;

import com.tzxs.pay.main.bill.detail.model.RelativeBean;

import java.util.List;

//收款账单和分期账单详情
public class CoInDetailBean {


    /**
     * code : 10001
     * status : success
     * msg : 操作成功
     * data : {"out_trade_no":"tk2018062915214036135","store_name":"天择信上","store_phone":"#######","pay_user":"支付宝","merchant_id":12,"total_amount":"0.01","buyer_id":null,"status":"Success","pay_status":5,"pay_status_txt":"退款成功","type":103,"remark":"测试退款[支付订单:po201806291435581270994]","created_at":"2018-06-29 15:21:42","print_content":"\\n    天择信上     \\n\\n收银员:天择信上技术部     \\n===========================\\n\\n交易时间:2018-06-29 15:21:42\\n\\n付款方式:支付宝支付\\n\\n订单号:tk2018062915214036135\\n\\n进出类型:支出\\n\\n状态: 退款成功\\n\\n交易金额: 0.01 元\\n\\n===========================\\n\\n       天择可付  智慧收银       \\n\\n\\n\\n","print_body":"收银员:天择信上技术部     \\n打印时间:2018-06-30 11:14:03\\n===========================\\n交易时间:2018-06-29 15:21:42\\n付款方式:支付宝支付\\n进出类型:支出\\n订单号:tk2018062915214036135\\n交易流水号:\\n2018062921001004860566231690\\n状态: 退款成功\\n\\n交易退款金额: 0.01 元\\n备注: 测试退款[支付订单:po201806291435581270994]\\n\\n===========================\\n\\n","RelationRecord":[{"fina_type":"in","out_trade_no":"po201806291435581270994","total_amount":"0.01","fina_type_txt":"收入"}],"print_array":["0","天择信上","天择信上技术部","\\n支付方式: 支付宝 (普通收款)\\n订单类型: 退款\\n交易时间: 2018-06-29 15:21:42\\n===========================\\n订单号: tk2018062915214036135\\n流水号:\\n2018062921001004860566231690\\n---------------------------\\n","业务记录: ","收款:￥无 ()\\n退款:￥0.01 (06-29 15:21:42)\\n===========================","退款:￥0.01","备注: 测试退款[支付订单:po201806291435581270994]\\n===========================\\n","tk2018062915214036135","===========================\\n收银员: 天择信上技术部\\n打印时间: 2018-06-30 11:14:03","天择可付  智慧收银\\n","\\n","交易凭证重复打印"]}
     */

    private int code;
    private String status;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * out_trade_no : tk2018062915214036135
         * store_name : 天择信上
         * store_phone : #######
         * pay_user : 支付宝
         * merchant_id : 12
         * total_amount : 0.01
         * buyer_id : null
         * status : Success
         * pay_status : 5
         * pay_status_txt : 退款成功
         * type : 103
         * remark : 测试退款[支付订单:po201806291435581270994]
         * created_at : 2018-06-29 15:21:42
         * print_content : \n    天择信上     \n\n收银员:天择信上技术部     \n===========================\n\n交易时间:2018-06-29 15:21:42\n\n付款方式:支付宝支付\n\n订单号:tk2018062915214036135\n\n进出类型:支出\n\n状态: 退款成功\n\n交易金额: 0.01 元\n\n===========================\n\n       天择可付  智慧收银       \n\n\n\n
         * print_body : 收银员:天择信上技术部     \n打印时间:2018-06-30 11:14:03\n===========================\n交易时间:2018-06-29 15:21:42\n付款方式:支付宝支付\n进出类型:支出\n订单号:tk2018062915214036135\n交易流水号:\n2018062921001004860566231690\n状态: 退款成功\n\n交易退款金额: 0.01 元\n备注: 测试退款[支付订单:po201806291435581270994]\n\n===========================\n\n
         * RelationRecord : [{"fina_type":"in","out_trade_no":"po201806291435581270994","total_amount":"0.01","fina_type_txt":"收入"}]
         * print_array : ["0","天择信上","天择信上技术部","\\n支付方式: 支付宝 (普通收款)\\n订单类型: 退款\\n交易时间: 2018-06-29 15:21:42\\n===========================\\n订单号: tk2018062915214036135\\n流水号:\\n2018062921001004860566231690\\n---------------------------\\n","业务记录: ","收款:￥无 ()\\n退款:￥0.01 (06-29 15:21:42)\\n===========================","退款:￥0.01","备注: 测试退款[支付订单:po201806291435581270994]\\n===========================\\n","tk2018062915214036135","===========================\\n收银员: 天择信上技术部\\n打印时间: 2018-06-30 11:14:03","天择可付  智慧收银\\n","\\n","交易凭证重复打印"]
         */

        private String out_trade_no;
        private String store_name;
        private String store_phone;
        private String pay_user;
        private int merchant_id;
        private String total_amount;
        private Object buyer_id;
        private String status;
        private int pay_status;
        private String pay_status_txt;
        private int type;
        private String remark;
        private String created_at;
        private String print_content;
        private String print_body;
        private List<RelativeBean> RelationRecord;
        private List<String> print_array;

        public String getOut_trade_no() {
            return out_trade_no;
        }

        public void setOut_trade_no(String out_trade_no) {
            this.out_trade_no = out_trade_no;
        }

        public String getStore_name() {
            return store_name;
        }

        public void setStore_name(String store_name) {
            this.store_name = store_name;
        }

        public String getStore_phone() {
            return store_phone;
        }

        public void setStore_phone(String store_phone) {
            this.store_phone = store_phone;
        }

        public String getPay_user() {
            return pay_user;
        }

        public void setPay_user(String pay_user) {
            this.pay_user = pay_user;
        }

        public int getMerchant_id() {
            return merchant_id;
        }

        public void setMerchant_id(int merchant_id) {
            this.merchant_id = merchant_id;
        }

        public String getTotal_amount() {
            return total_amount;
        }

        public void setTotal_amount(String total_amount) {
            this.total_amount = total_amount;
        }

        public Object getBuyer_id() {
            return buyer_id;
        }

        public void setBuyer_id(Object buyer_id) {
            this.buyer_id = buyer_id;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public int getPay_status() {
            return pay_status;
        }

        public void setPay_status(int pay_status) {
            this.pay_status = pay_status;
        }

        public String getPay_status_txt() {
            return pay_status_txt;
        }

        public void setPay_status_txt(String pay_status_txt) {
            this.pay_status_txt = pay_status_txt;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getPrint_content() {
            return print_content;
        }

        public void setPrint_content(String print_content) {
            this.print_content = print_content;
        }

        public String getPrint_body() {
            return print_body;
        }

        public void setPrint_body(String print_body) {
            this.print_body = print_body;
        }

        public List<RelativeBean> getRelationRecord() {
            return RelationRecord;
        }

        public void setRelationRecord(List<RelativeBean> RelationRecord) {
            this.RelationRecord = RelationRecord;
        }

        public List<String> getPrint_array() {
            return print_array;
        }

        public void setPrint_array(List<String> print_array) {
            this.print_array = print_array;
        }


    }
}
